home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Communications / General / Messenger 1.5.9 / Messenger 1.5.9.rsrc / TEXT_128.txt < prev    next >
Text File  |  1994-06-20  |  2KB  |  44 lines

  1.    Messenger Objects, Variables & Handlers
  2.  
  3.  
  4. Here are fields and buttons you can evaluate, set the contents of, or click:
  5.  
  6. Fields:
  7. ‚Ä¢ "Outgoing Message" is card field ID 2: The Outgoing Message is the
  8.        lower text field in Messenger. Outgoing Message text is typed here.
  9. ‚Ä¢ "Incoming Message" is card field ID 9: The Incoming Message is the upper
  10.        text field in Messenger. All Outgoing Messages that have been sent
  11.        and any Incoming Messages appear here. If you set the contents of
  12.        Incoming Message, send ‚ÄúscrollMessage‚Äù to Messenger to scroll the
  13.        Incoming Message field down.
  14. ‚Ä¢ "Public Message" is card field ID 97: The Public Message text is typed here.
  15. ‚Ä¢ "Destination" is card field ID 6: The current recipient‚Äôs address is kept
  16.        here. If you set the Destination, send ‚ÄúfigureRecipient‚Äù to Messenger
  17.        to set the values of the appropriate variables for sending messages.
  18. ‚Ä¢ "Connections Menu" is card field ID 65: The addresses of all Macs
  19.        Messenger is currently logged-on to are kept here.
  20.  
  21. Buttons:
  22. ‚Ä¢ "Send" is card button ID 4: A ‚ÄúmouseUp‚Äù to card button ‚ÄúSend‚Äù sends
  23.        the Outgoing Message to the current recipient.
  24.  
  25.  
  26.  
  27. Here are variables and handlers you can use to control Messenger:
  28.  
  29. Variables:
  30. ‚Ä¢ "theRecipient" is a global variable containing the current recipient of
  31.        Outgoing Messages sent by Messenger.
  32. ‚Ä¢ "theSender" is a global variable containing the sender of a Messenger message
  33. ‚Ä¢ "theMiscSender" is a global variable containing the sender of an Apple Event
  34.        other than a Messenger message.
  35.  
  36. Handlers:
  37. ‚Ä¢ "scrollMessage" scrolls the Incoming Message field to its end.
  38. ‚Ä¢ "figureRecipient" sets the global variable theRecipient (among other things).
  39. ‚Ä¢ "sendBeep", "sendFlash", "sendMessageWithReply",
  40.        "sendMessageWithoutReply", "requestStatus", and "requestPublicMessage"
  41.        are the corresponding handlers for the menu items in the "Send/Request"
  42.        menu.
  43. ‚Ä¢ If you have AppleScript, you can tell Messenger to 'do script "do card field
  44.        ID 2 as AppleScript"'